package com.chumi.bootstrap.controller.main;

import java.io.IOException;

import javax.servlet.http.HttpServletRequest;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.llsfw.core.controller.base.BaseController;

@Controller
@RequestMapping("MainContrller")
public class MainContrller extends BaseController{

    @RequestMapping("main")
    public String main(HttpServletRequest request) throws IOException{
    	//List<TSysUser> userlist = tsus.selectUser();	
		return "/main";
    }     
    
    @RequestMapping("simpleTable")
    public String singleTable(HttpServletRequest request) throws IOException{	
		return "/table/simpleTable";
    }

    @RequestMapping("remoteTable")
    public String remoteTable(HttpServletRequest request) throws IOException{
		return "/table/remoteTable";
    }

    @RequestMapping("responsiveTable")
    public String responsiveTable(HttpServletRequest request) throws IOException{	
		return "/table/responsiveTable";
    }

    @RequestMapping("tableMethods")
    public String tableMethods(HttpServletRequest request) throws IOException{	
		return "/table/tableMethods";
    }
    
    @RequestMapping("validateTable")
    public String validateTable(HttpServletRequest request) throws IOException{	
		return "/table/validateTable";
    }    
    
    @RequestMapping("simpleTree")
    public String simpleTree(HttpServletRequest request) throws IOException{	
		return "/tree/simpleTree";
    }    

    @RequestMapping("remoteTree")
    public String remoteTree(HttpServletRequest request) throws IOException{	
		return "/tree/remoteTree";
    }    

    @RequestMapping("dragTree")
    public String dragTree(HttpServletRequest request) throws IOException{	
		return "/tree/dragTree";
    }    

    @RequestMapping("simpleAccordion")
    public String simpleAccordion(HttpServletRequest request) throws IOException{	
		return "/accordion/simpleAccordion";
    }

    @RequestMapping("simpleCombobox")
    public String simpleCombobox(HttpServletRequest request) throws IOException{	
		return "/combobox/simpleCombobox";
    }
    
    @RequestMapping("remoteCombobox")
    public String remoteCombobox(HttpServletRequest request) throws IOException{	
		return "/combobox/remoteCombobox";
    }
    
    @RequestMapping("simpleCheckbox")
    public String simpleCheckbox(HttpServletRequest request) throws IOException{	
		return "/checkbox/simpleCheckbox";
    }
    
    @RequestMapping("simpleRadio")
    public String simpleRadio(HttpServletRequest request) throws IOException{	
		return "/radio/simpleRadio";
    }    

    @RequestMapping("simpleForm")
    public String simpleForm(HttpServletRequest request) throws IOException{	
		return "/form/simpleForm";
    }
    
    @RequestMapping("validateForm")
    public String validateForm(HttpServletRequest request) throws IOException{	
		return "/form/validateForm";
    }

    @RequestMapping("simpleTabs")
    public String simpleTabs(HttpServletRequest request) throws IOException{	
		return "/tabs/simpleTabs";
    }
   
    @RequestMapping("simpleDialog")
    public String simpleDialog(HttpServletRequest request) throws IOException{	
		return "/dialog/simpleDialog";
    }
    
    @RequestMapping("singlePopup")
    public String singlePopup(HttpServletRequest request) throws IOException{	
		return "/popup/singlePopup";
    }
    
    @RequestMapping("multiPopup")
    public String multiPopup(HttpServletRequest request) throws IOException{	
		return "/popup/multiPopup";
    }    
    
    @RequestMapping("simpleGrid")
    public String simpleGrid(HttpServletRequest request) throws IOException{	
		return "/grid/simpleGrid";
    }
    
    @RequestMapping("simpleLayout")
    public String simpleLayout(HttpServletRequest request) throws IOException{	
		return "/layout/simpleLayout";
    }    
}
